#import <Cocoa/Cocoa.h>



@protocol SMRSubtleScrollViewDelegate;
@class SMRSubtleResizeControl;

@interface SMRSubtleScrollView : NSScrollView {
}

@property (nonatomic, assign) IBOutlet id <SMRSubtleScrollViewDelegate> delegate;
@property (nonatomic, retain) SMRSubtleResizeControl *resizeControl;
@property (nonatomic, assign) BOOL selected;

@end


#pragma mark -
@protocol SMRSubtleScrollViewDelegate <NSObject>

@required
-(CGFloat)maximumResizeHeightOfScrollView:(SMRSubtleScrollView *)aScrollView;
-(CGFloat)minimumResizeHeightOfScrollView:(SMRSubtleScrollView *)aScrollView;
-(void)scrollView:(SMRSubtleScrollView *)aScrollView resizeView:(NSView *)substituteView withRect:(NSRect)aRect;

@optional
-(NSView *)substituteResizeViewForScrollView:(SMRSubtleScrollView *)aScrollView;
-(BOOL)shouldHideResizeViewForScrollView:(SMRSubtleScrollView *)aScrollView;

@end
